﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Business;

namespace Presentation
{
    public partial class Alertas : System.Web.UI.Page
    {

        protected void Page_Load(object sender, EventArgs e)
        {
            Session["idStatus"] = Request.QueryString["idStatus"];
            gvStatus.DataSource = ControladorEstado.getStatus();
            gvStatus.DataBind();
            gvReglas.DataSource = ControladorRegla.getRules(Convert.ToInt32(Session["idStatus"]));
            gvReglas.DataBind();
        }

        protected void gvReglas_SelectedIndexChanged(object sender, EventArgs e)
        {
        }

        protected void btnNuevaRegla_Click(object sender, EventArgs e)
        {

           
        }

       
    }
}